// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleRaiseStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/OracleASTVisitor.h"

SQLExpr_ptr OracleRaiseStatement::getException()
{
  return exception;
}

void OracleRaiseStatement::setException(SQLExpr_ptr exception)
{
  this->exception = exception;
}

// @Override
void OracleRaiseStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleRaiseStatement)))
  {
    acceptChild(visitor, exception);
  }
  visitor->endVisit(SharedObject(OracleRaiseStatement));
}
